package com.recruit.wechat.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author LF
 * @since 2020-08-25
 */
@TableName("wechat_label")
@ApiModel(value="WechatLabel对象", description="")
public class WechatLabel extends Model<WechatLabel> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标签id")
    @TableId(value = "label_id", type = IdType.AUTO)
    private Integer labelId;

    @ApiModelProperty(value = "标签名字")
    @TableField("label_name")
    private String labelName;

    @ApiModelProperty(value = "标签类型id")
    @TableField("label_type_id")
    private String labelTypeId;

    public Integer getLabelId() {
        return labelId;
    }

    public void setLabelId(Integer labelId) {
        this.labelId = labelId;
    }
    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }
    public String getLabelTypeId() {
        return labelTypeId;
    }

    public void setLabelTypeId(String labelTypeId) {
        this.labelTypeId = labelTypeId;
    }

    @Override
    protected Serializable pkVal() {
        return this.labelId;
    }

    @Override
    public String toString() {
        return "WechatLabel{" +
            "labelId=" + labelId +
            ", labelName=" + labelName +
            ", labelTypeId=" + labelTypeId +
        "}";
    }
}
